<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
     <!-- 容器 -->
     <div id='test'></div>
    <div id="t1">
        dom
    </div>
     <script src="./js/react.development.js"></script>
     <script src="./js/react-dom.development.js"></script>
     <script src="./js/babel.min.js"></script>
     <!-- 
      JSX -> JavascriptXML 
      -->
     <script type="text/babel">
         let t1 = document.querySelector('#t1')
         let DOM = (
             <div>
                <p>jsx</p>    
            </div>
         )
         ReactDOM.render(DOM,document.querySelector('#test'))
         console.log(DOM); // obj 虚拟DOM
         console.log(typeof DOM);

         console.log('虚拟DOM',  DOM);
        //  debugger
         console.log('真实DOM', t1);
         
     </script>
</body>
</html>